/**
 * Created by zony at 2016年3月16日22:12:59
 */
app.factory('isLogin', ['$location',function($location)
{
    return {
    	islogin:function(){    		//$location.path('/web/user/login');
    		if(!window.localStorage.isLogin) $location.path('/web/user/login');
    		//$location.path('/web/user/login');
    	}
    }
}]);

/*app.config(['$httpProvider', function($httpProvider)
{
    $httpProvider.interceptors.push('httpError');
}]);*/
var banklist = {
"工商银行":	"gsyh",
"建设银行":"jsyh",
"农业银行":"nyyh",
"中国银行":"zgyh",
"中国邮政储蓄":"zgyzcx",
"交通银行":"jtyh",
"招商银行":"zsyh",
"兴业银行":"xyyh",
"民生银行":"msyh",
"中国光大银行":"zggdyh",
"华夏银行":"hxyh",
"中信银行":"zxyh",
"恒丰银行":"hengfyh",
"深圳发展银行":"szfzyh",
"广东发展银行":"gdfzyh",
"上海浦东发展银行":"shpdfzyh",
"渤海银行":"bhyh",
"浙商银行":"zhesyh",
"中国农业发展银行":"zgnyfzyh",
"北京银行":"bjyh",
"宁波银行":"nbyh"
};
// 定义省份城市数组

var city12= [
	{city1:"北京市",city2:["东城区","西城区", "崇文区", "宣武区","朝阳区","海淀区","丰台区","石景山区","房山区","通州区","顺义区","昌平区","大兴区","怀柔区","平谷 区","门头沟区","密云区","延庆区","其他"]},
	{city1:"广东省",city2:["广州","深圳", "珠海","汕头","韶关","佛山","江门","湛江","茂名","肇庆","惠州","梅州","汕尾","河源","阳江","清远","东 莞","中山","潮州","揭阳","云浮","其他"]},
	{city1:"上海市",city2:["黄浦区","卢湾区", "徐汇区","长宁区","静安区","普陀区","闸北区","虹口区","杨浦区","宝山区","闵行区","嘉定区","松江区","金山 区","青浦区","南汇区","奉贤区","浦东新区","崇明区","其他"]},
	{city1:"天津市",city2:["和平区","河东区", "河西区","南开区","河北区","红桥区","塘沽区","汉沽区","大港区","东丽区","西青区","北辰区","津南区","武清 区","宝坻区","静海县","宁河县","蓟县","其他"]},
	{city1:"重庆市",city2:["渝中区","大渡口区", "江北区","南岸区","北碚区","渝北区","巴南区","长寿区","双桥区","沙坪坝区","万盛区","万州区","涪陵区","黔江 区","永川区","合川区","江津区","九龙坡区","南川区","綦江县","潼南区","荣昌区","璧山区","大足区","铜梁县","梁 平县","开县","忠县","城口县","垫江区","武隆县","丰都县","奉节县","云阳县","巫溪县","巫山县","其他"]},
	{city1:"辽宁省",city2:["沈阳","大连","鞍山","抚顺","本溪","丹东","锦州","营口","阜新","辽阳","盘锦","铁岭","朝阳","葫芦岛","其他"]},
	{city1:"江苏省",city2:["南京","苏州","无锡","常州","镇江","南通","泰州","扬州","盐城","连云港","徐州","淮安","宿州","其他"]},
	{city1:"湖北省",city2:["武汉","黄石","十堰","荆州","宜昌","襄樊","鄂州","荆门","孝感","黄冈","咸宁","随州","仙桃","天门","潜江","神农架","其他"]},
	{city1:"四川省",city2:["成都","自贡","攀枝花","泸州","德阳","绵阳","广元","遂宁","内江","乐山","南充","眉山","宜宾","广安","达州","雅安","巴中","资阳","其他"]},
	{city1:"陕西省",city2:["西安","铜川","宝鸡","咸阳","渭南","延安","汉中","榆林","安康","商洛","其他"]},
	{city1:"河北省",city2:["石家庄","唐山","秦皇岛","邯郸","邢台","保定","张家口","承德","沧州","廊坊","衡水","其他"]},
	{city1:"山西省",city2:["太原","大同","阳泉","长治","晋城","朔州","晋中","运城","忻州","临汾","吕梁","其他"]},
	{city1:"河南省",city2:["郑州","开封","洛阳","平顶山","安阳","鹤壁","新乡","焦作","濮阳","许昌","漯河","三门峡","南阳","商丘","信阳","周口","驻马店","焦作","其他"]},
	{city1:"吉林省",city2:["吉林","四平","辽源","通化","白山","松原","白城","延边朝鲜自治区","其他"]},
	{city1:"黑龙江",city2:["哈尔滨","齐齐哈尔","鹤岗","双鸭山","鸡西","大庆","伊春","牡丹江","佳木斯","七台河","黑河","绥远","大兴安岭地区","其他"]},
	{city1:"内蒙古",city2:["呼和浩特","包头","乌海","赤峰","通辽","鄂尔多斯","呼伦贝尔","巴彦淖尔","乌兰察布","锡林郭勒盟","兴安盟","阿拉善盟"]},
	{city1:"山东省",city2:["济南","青岛","淄博","枣庄","东营","烟台","潍坊","济宁","泰安","威海","日照","莱芜","临沂","德州","聊城","滨州","菏泽","其他"]},
	{city1:"安徽省",city2:["合肥","芜湖","蚌埠","淮南","马鞍山","淮北","铜陵","安庆","黄山","滁州","阜阳","宿州","巢湖","六安","亳州","池州","宣城"]},
	{city1:"浙江省",city2:["杭州","宁波","温州","嘉兴","湖州","绍兴","金华","衢州","舟山","台州","丽水","其他"]},
	{city1:"福建省",city2:["福州","厦门","莆田","三明","泉州","漳州","南平","龙岩","宁德","其他"]},
	{city1:"湖南省",city2:["长沙","株洲","湘潭","衡阳","邵阳","岳阳","常德","张家界","益阳","滨州","永州","怀化","娄底","其他"]},
	{city1:"广西省",city2:["南宁","柳州","桂林","梧州","北海","防城港","钦州","贵港","玉林","百色","贺州","河池","来宾","崇左","其他"]},
	{city1:"江西省",city2:["南昌","景德镇","萍乡","九江","新余","鹰潭","赣州","吉安","宜春","抚州","上饶","其他"]},
	{city1:"贵州省",city2:["贵阳","六盘水","遵义","安顺","铜仁","毕节","其他"]},
	{city1:"云南省",city2:["昆明","曲靖","玉溪","保山","邵通","丽江","普洱","临沧","其他"]},
	{city1:"西藏",city2:["拉萨","那曲地区","昌都地区","林芝地区","山南区","阿里区","日喀则","其他"]},
	{city1:"海南省",city2:["海口","三亚","五指山","琼海","儋州","文昌","万宁","东方","澄迈县","定安县","屯昌县","临高县","其他"]},
	{city1:"宁夏",city2:["兰州","嘉峪关","金昌","白银","天水","武威","酒泉","张掖","庆阳","平凉","定西","陇南","临夏","甘南","其他"]},
	{city1:"甘肃省",city2:["银川","石嘴山","吴忠","固原","中卫","其他"]},
	{city1:"青海",city2:["西宁","海东地区","海北藏族自治区","海南藏族自治区","黄南藏族自治区","果洛藏族自治区","玉树藏族自治州","还西藏族自治区","其他"]},
	{city1:"新疆",city2:["乌鲁木齐","克拉玛依","吐鲁番地区","哈密地区","和田地区","阿克苏地区","喀什地区","克孜勒苏柯尔克 孜","巴音郭楞蒙古自治区","昌吉回族自治州","博尔塔拉蒙古自治区","石河子","阿拉尔","图木舒克","五家渠","伊犁哈萨克自治 区","其他"]}
];
